package com.bristua.common.dao;

import com.bristua.common.model.TIndexImg;
import com.bristua.common.model.condition.TIndexImgExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TIndexImgMapper {
    int countByExample(TIndexImgExample example);

    int deleteByExample(TIndexImgExample example);

    int deleteByPrimaryKey(String indexImgUrlId);

    int insert(TIndexImg record);

    int insertSelective(TIndexImg record);

    List<TIndexImg> selectByExampleWithBLOBs(TIndexImgExample example);

    List<TIndexImg> selectByExample(TIndexImgExample example);

    TIndexImg selectByPrimaryKey(String indexImgUrlId);

    int updateByExampleSelective(@Param("record") TIndexImg record, @Param("example") TIndexImgExample example);

    int updateByExampleWithBLOBs(@Param("record") TIndexImg record, @Param("example") TIndexImgExample example);

    int updateByExample(@Param("record") TIndexImg record, @Param("example") TIndexImgExample example);

    int updateByPrimaryKeySelective(TIndexImg record);

    int updateByPrimaryKeyWithBLOBs(TIndexImg record);

    int updateByPrimaryKey(TIndexImg record);
}